[xenstore] Don't limit the number of concurrent transactions for domain0 connections
authorChristian Limpach <Christian.Limpach@xensource.com>
Thu, 12 Oct 2006 10:25:32 +0000 (11:25 +0100)
committerChristian Limpach <Christian.Limpach@xensource.com>
Thu, 12 Oct 2006 10:25:32 +0000 (11:25 +0100)
since both xend and the xenstore-* utilities used in the hotplug
scripts can easily reach the limit and we trust them anyway.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
tools/xenstore/xenstored_transaction.c

index fb20287f99df48a72a5d6e4e5d3a4c1fa0b01b7e..69cc520bb976e487e769d6d28d95084712752104 100644 (file)
@@ -133,7 +133,7 @@ void do_transaction_start(struct connection *conn, struct buffered_data *in)
                return;
        }
 
-       if (conn->transaction_started > quota_max_transaction) {
+       if (conn->id && conn->transaction_started > quota_max_transaction) {
                send_error(conn, ENOSPC);
                return;
        }